#include <iostream>
#include <memory>
#include "Epollserver.hpp"

using namespace std;
using namespace ns_epoll_server;

void handler(const string& str)
{
    cout << "echo# " << str << endl;
}

int main()
{
    unique_ptr<EpollServer> svr(new EpollServer(handler));
    svr->Start();
    return 0;
}